//
//  FoodObject.h
//  Karaoke
//
//  Created by YaLei Li on 12-4-19.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
/*
 FoodNo:Array[0..6] Of Char; //酒水类别的代码
 FoodName_Cha:Array[0..30] Of Char; //酒水项目的中文名称
 FoodName_Eng:Array[0..30] Of Char; //酒水项目的英文名称
 FoodPrice:Single; //酒水的价格
 FoodMonad:Array[0..6] Of Char;//单位
 FoodStand:Array[0..20] Of Char;//份量，瓶装酒就是多少ml，小吃是多少克
 FoodLimitFree:Boolean; //是否只能赠送
 IfPack:Integer;//是否套餐0:不是套餐1:是套餐
 AddInfoNo1:Array[0..10] Of Char; //附加信息1
 AddInfoNo1:Array[0..10] Of Char; //附加信息2
*/
@interface OKFoodObject : NSObject
@property(retain,nonatomic) NSString *No,*NameChs,*NameEng,*Price,*Monad,*Stand,*LimitFree,*IfPack,*AddInfoNo1,*AddInfoNo2,* IfFlowerItem;
@end
/*
 SetItemsDataCount:Integer;//套餐子项分类数据数组的数量
 DetailDataCount:Integer;//套餐子项具体酒水项目数据数组的数量
 (
 SetID:Integer; //套餐内项目分类设置的ID, 对应PackFoodItem.PFI_ID
 SetItemName:Array[0..30] Of Char; //套餐内项目分类设置的名称
 SetSumCount:Integer; //该类项目可选的累积数量
 )
 (
 SetID:Integer;// 套餐内项目分类设置的ID，对应PackFoodItem.PFI_ID
 FoodNo:Array[0..6] Of Char; //套餐内酒水项目的代码
 FoodName:Array[0..30] Of Char;//套餐内酒水项目的名称
 Monad:String;
 PrintType:Array[0..2] Of Char; //打印类别
 OverTimes:Integer; //
 )
 }
 */
@interface OKPackChild : NSObject
@property (retain,nonatomic) NSString *SetItemsDataCount,*DetailDataCount,*SetItemName,*SetSumCount,*SetID,*SetNote;
@property (assign,nonatomic) BOOL Flag;
@property (assign,nonatomic) NSInteger CanSelectCount;

@property int SelectedCount;
@end

@interface OKPackChildFood : NSObject

@property (retain,nonatomic) NSString *SetID,*FoodNo,*FoodName,*Monad,*PrintType,*OverTimes,*Price;
@property int SelectedCount;
@end
/*
 ErrorCode:0:正常;1:菜品已缺货;
 HasMultFreeItems:当自动赠送时有无多项赠送选择项目:0:没有:1:有
 MultFreeCount:Integer;//多项自动赠送的数量
 MultFreeItemsSetID:自动赠送多项选择的ID
 GroupID:String;//当套餐项目或者自动赠送时这些项目具有相同的GroupID
 DataCount:Integer;//数据项目数量
 FoodNo:Array[0..6] of char;//酒水项目代码
 FoodName:Array[0..30] Of Char; //酒水类别的名称
 Price:Singer; //价格;
 Flag:String;//F_Flag
 Quantity:Integer;//数量
 CanDiscount:Integer;//0:不能打折 1：能打折
 Monad:String;
 IfLowLimitPrice:Integer;//是否计入最低消费 1:计入 0：不计入
 PrinterType:String; //打印分类
 OverTimes:Integer; //
 IfPack:Integer; //是否套餐 0:不是 1:是
 IfPackChild:Integer;//是否套餐子项0:不是 1:是
 AutoFreed:Integer; //是否已自动赠送
 AutoFreeCount:Integer;//自动赠送数量
 GroupID:String;//当套餐项目或者自动赠送时这些项目具有相同的GroupID
 ParentFoodNo:String;//自动赠送时，赠送项目对应的点选项目的项目编号。
 CanReward:Integer;//能否提成
 AutoFreeSetIDOfMutilToOne:String;//
 LimitDisRate:Single;//限制折扣
 SendMobileMsgWhenFree:Intege; //短信监控赠送  0:不需 1：需短信监控
 Note:String;//备注
*/
@interface OKSelectFood : NSObject 
@property (retain,nonatomic) NSString 
*ErrorCode,
*HasMultFreeItems,
*MultFreeCount,
*MultFreeItemsSetID,
*GroupID,
*DataCount,
*FoodNo,
*FoodName,
*Price,
*Flag,
*Quantity,
*CanDiscount,
*Monad,
*IfLowLimitPrice,
*PrinterType,
*OverTimes,
*IfPack,
*IfPackChild,
*AutoFreed,
*AutoFreeCount,
*ParentFoodNo,
*CanReward,
*AutoFreeSetIDOfMutilToOne,
*LimitDisRate,
*SendMobileMsgWhenFree,
*Note;
@end

